package course_platform;

public abstract class Person {
    protected String id; // 人员编号
    protected String name; // 姓名
    protected String gender; // 性别

    public Person(String id, String name, String gender) {
        this.id = id;
        this.name = name;
        this.gender = gender;
    }

    public String getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getGender() {
        return gender;
    }

    public abstract void printSchedule(); // 抽象方法，由子类实现
}